package com.twu.biblioteca;

public class Book {

    public String title;
    private boolean isAvailable;

    public boolean isAvailable() {
        return isAvailable;
    }

    public Book() {
        this.title = "default";
        isAvailable = true;
    }

    public Book(String title) {
        this.title = title;
        isAvailable = true;
    }

    public void setAvailable(boolean available) {
        isAvailable = available;
    }

    public String toString() {
        return title;
    }

}
